<?php
/**
 * 标签模块
 * 
 + ----------------------------------------------------- 
 * Date 2013-3-8
 + -----------------------------------------------------
 */
class TagAction extends CommonAction {
	
	public function index() {
		//列表过滤器，生成查询Map对象
		$map = $this->_search();
		if (method_exists($this, '_filter')) { //字段过滤  在模型类中定义
			$this->_filter($map);
		}
		$model = D("Tag");
		if (!empty($model)) {
			$this->_list($model, $map, "sort_order", true);
		}
		$this->display();
		return;
	}
	
}

?>